package com.tssup.fesco.search.dao;

import com.tssup.fesco.sales.goods.persistent.mapper.RGoodsMapper;
import com.tssup.fesco.sales.goods.persistent.pojo.RGoods;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public class B2CRGoodsDao {
    @Autowired
    private RGoodsMapper b2CRGoodsMapper;

    public List<RGoods> getLatelyGoods() {
        return b2CRGoodsMapper.getLatelyGoods();
    }

    public List<RGoods> getAllGoods() {
        return b2CRGoodsMapper.getAllGoods();
    }
}
